home *** CD-ROM | disk | FTP | other *** search
- Brief documentation on PWORD.ASM (also called PASSWRD2.ASM)
- by ... P. L. Olympia, Sysop SUGI SIG/M RBBS 301-963-5249
-
- Thanks to John R. Petrocelli for sending me this program whose
- original author I don't know. Thanks, Mr. Anonymous.
-
- PURPOSE:
-
- PWORD.ASM is intended to produce a device driver (PWORD.SYS) that
- you include in your CONFIG.SYS file. This driver will ask the user on
- machine startup to provide a password. The user is repeatedly asked
- for the password until the correct one is given. The user cannot get
- out of this with CTRL-C or CTRL-BREAK, but may warmboot with CTRL-ALT-
- DEL.
-
-
- INSTALLATION:
-
- Edit the file PWORD.ASM and change the password (set in the
- distribution program as 'plan') to something else that you can easily
- remember. I suggest that you do NOT use your wife's name as everyone
- else in the industry does that (don't know why but 45% of my BBS users
- do that for some reason). The line that needs changing is this:
-
- PASSWORD_STORE DB 4,'plan'
- | |__ This is the password
- |______ This is the # of chars in the password
-
- If you don't use ANSI.SYS as a device driver, you may also want to
- change the ESC sequence for hiding/unhiding user input in the block
- called MSG_1 and MSG_2.
-
- Next, compile the program with ASM or MASM.
- MASM pword
-
- Then LINK it:
- LINK pword
-
- Then use EXE2BIN to convert it to a SYS file:
- EXE2BIN pword pword.sys
-
- Add this line to your CONFIG.SYS file:
- DEVICE=pword.sys
-
- If you use ANSI.SYS, it should come before PWORD.SYS.
-
- That's it. Reboot and watch the fun. Enjoy ...
-
-
- P.S. For all you budding programmers, the program is a handy tool for
- learning how to set up a device driver.